<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册</title>
</head>
<body>
<form action="/logindemo2/userBuyRegister" method="post">
    <h1 id = "loginMsg"> 客户注册</h1>
    <p> 设置您的用户名:<input id = "userName" name="userName" type="text" minlength="3" maxlength="6" required></p>
    <p> 设置您的密码:<input id = "userPwd" name="userPwd" type="password" minlength="6" maxlength="12" required></p>
    <div id="subDiv">

        <input type="submit" class="button" value="注册">
        <input type="reset" class="button" value="重置">
        <a href="helloBuy.html" >已有账号，去登录</a>

    </div>
</form>
</body>
</html>